package com.zbkj.common.request;

import com.zbkj.common.annotation.StringContains;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 监控订单保存查询请求对象
 * </p>
 *
 * @author dazongzi
 * @since 2025-06-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="MonitorOrderSearchRequest对象", description="监控订单保存查询请求对象")
public class MonitorOrderFrontSaveRequest implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "商户入驻记录ID")
    @NotNull(message = "商户入驻记录ID不能为空")
    private Integer merchantApplyId;

    @ApiModelProperty(value = "商户名称")
    @NotBlank(message = "商户名称不能为空")
    private String merchantName;

    @ApiModelProperty(value = "套餐类型（0：2年套餐，1:5年套餐，2：终身套餐,3:3年套餐）")
    @NotNull(message = "套餐类型不能为空")
    @Range(min = 0, max = 3, message = "套餐类型范围不正确")
    private Integer groupType;

    @ApiModelProperty(value = "购买数量")
    @NotNull(message = "购买数量不能为空")
    private Integer payNum;

}
